<fieldset>
	<legend>Minhas Assinaturas</legend>
<table>
  <tr>
    <td width="200" style="font-weight:bold;">Nome</td>
    <td >
	<td />
  </tr>
  
<% for signature in @signatures %>
  <tr>
    <td><%= h signature[:magazine_name] %></td>
    <td>
    	<%= link_to 'Receber revista', 
    		:action => :receive_magazine, 
    		:id => signature[:priority_list_id], 
    		:method => :post %>  |  
    </td>
    <td>
    	<%= link_to 'Entregar revista', 
    		:action => :deliver_magazine, 
    		:id => signature[:priority_list_id], 
    		:method => :post %>  |
    </td>
	<td>
    	<%= link_to 'Cancelar assinatura', 
    		:action => :cancel_signature, 
    		:cl_id => signature[:circulation_list_id], 
    		:method => :post %>
    </td>
  </tr>
<% end %>
</table>
</fieldset>
